Replication Archive for "The Prosecutor Paradox: Understanding the Public's Knowledge About Chief Local Prosecutors" (forthcoming, Journal of Law and Courts)

DESCRIPTIONS OF ARCHIVE CONTENTS

"Elections Data and Analysis" folder contains all files needed to replicate analyses of prosecutorial election outcomes (Tables 1-2, Figures 1-2).  Codebooks contain information on all variables contained in the data files.
--descriptive_analysis.R--R code needed to replicate tables and figures
--election_results.csv--UNC Prosecutors and Politics Project elections data for 2012-2017
--ledb_candidate_level.csv--American Local Government Elections Database (ALED) elections data
--ledb_readme.txt--README file for ALED (sourced from the original authors)
--Public Dataset (Updated).csv--UNC Prosecutors and Politics Project elections data extended through 2019
--UNC1217Codebook--Codebook for UNC Prosecutors and Politics Project elections data for 2012-2017 (sourced from the original authors)
--UNC1819Codebook--Codebook for UNC Prosecutors and Politics Project elections data through 2019 (sourced from the original authors)

"Survey Data and Analysis" folder contains all files needed to replicate analyses of survey data (Tables 3-7, Tables SI.1-SI.8).  Unless otherwise noted, codebooks contain information on all variables contained in the data files.
--BGSUCodebook.pdf--Codebook for survey data from 2024 YouGov survey of Ohio voters
--CCES24_Common_CODEBOOK.txt--Codebook for 2024 CES common content survey data
--CCES24_Common_OUTPUT.csv--Survey data from 2024 CES common content
--CCES24_UTK_CODEBOOK.txt--Codebook for 2024 CES University of Tennessee, Knoxville module
--CCES24_UTK_OUTPUT.csv--Survey data from 2024 CES University of Tennessee, Knoxville module
----NOTE: Ancillary data on the names of chief local prosecutor offices and whether the chief local prosecutor had been on the ballot in the most recent election were collected by one of the study authors, using local elections websites. This data was used to check the correctness of the participants' responses on knowledge questions. 
--Ohio_prosecutors.csv--Names and parties of all Ohio prosecutors serving at the time the YouGov survey of Ohio voters was fielded
----NOTE: The names and parties of Ohio prosecutors were collected by an undergraduate research assistant at the University of Tennessee, Knoxville, supervised by one of the study authors, using official county websites.
--survey_analysis_replication.R--R code needed to replicate tables and figures
--Verasight2024.csv--Survey data from 2024 Verasight APSA omnibus survey
--Verasight2024Codebook.csv--Codebook for 2024 Verasight APSA omnibus survey
--Verasight2024Methodology.pdf--Methodology description for 2024 Verasight APSA omnibus survey
--Verasight2025.csv--Survey data from 2025 Verasight MPSA omnibus survey
--Verasight2025Codebook.csv--Codebook for 2025 Verasight MPSA omnibus survey
--Verasight2025Methodology.pdf--Methodology description for 2025 Verasight MPSA omnibus survey
--YouGovOhio.dta--Survey data from 2024 YouGov survey of Ohio voters